<?php


class Delivery {
	private $id;
	private $direction;
	private $days;

	function __construct(array $delivery) {
		$this->setDays($delivery["$days"]);
		$this->setDirection($delivery['direction']);
		$this->setId($delivery["id"]);
	}


	public function setDays($days) {
		$this->days = $days;
	}


	public function getDays() {
		return $this->days;
	}


	public function setDirection($direction) {
		$this->direction = $direction;
	}


	public function getDirection() {
		return $this->direction;
	}


	public function setId($id) {
		$this->id = $id;
	}


	public function getId() {
		return $this->id;
	}


}
?>